<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no">
    <title>首页</title>
    <link th:href="@{/login/css/bootstrap.min.css}" rel="stylesheet">
</head>
<body class="text-center">
    <div class="container mt-5">
        <div class="jumbotron">
            <h1 class="display-4">欢迎回来！</h1>
            <p class="lead">您已成功登录系统</p>
            <hr class="my-4">
            <p>当前登录用户: <span th:text="${session.loginUser}">未登录</span></p>
            <a th:href="@{/logout}" class="btn btn-danger">注销</a>
            <p class="mt-5 mb-3 text-muted">© <span th:text="${currentYear}">2018</span>-<span th:text="${currentYear}+1">2019</span></p>
        </div>
    </div>
</body>
</html>